/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Integration;

/**
 *
 * @author mark
 */
public class Func implements IFunction1D{

    public double calculate(double x) {
        return x*x*x;
    }

    public double calculateDerivaty(double x) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
